import type { FormInstance, FormRules } from 'element-plus'

export interface FieldsItem {
  prop: String
  label?: String
  span?: number
  subassembly?: string | Function | Object
  subOptions?: Object
}

export interface VFormProps {
  fields: FieldsItem[]
  inline: boolean
  model: Record<string, any>
  rules: FormRules
  showMessage: boolean
}
